﻿using System;
namespace Chenxin.Lib.Business.Entity
{
    /// <summary>
    /// 实体类t_Contract_Attachment 。(属性说明自动提取数据库字段的描述信息)
    /// </summary>
    [Serializable]
    public class ContractAttachment
    {
        public ContractAttachment()
        { }
        #region Model
        private Guid _recordid;
        private Guid _relationid;
        private string _path;
        private string _filename;
        private string _remark;
        private Guid _userid;
        private string _username;
        private Guid _departid;
        private string _departname;
        private Guid _companyid;
        private string _companyname;
        private Guid _cityid;
        private string _cityname;
        private int? _atttype;
        private DateTime? _addtime;
        /// <summary>
        /// 
        /// </summary>
        public Guid RecordId
        {
            set { _recordid = value; }
            get { return _recordid; }
        }
        /// <summary>
        /// 成交ID
        /// </summary>
        public Guid RelationId
        {
            set { _relationid = value; }
            get { return _relationid; }
        }
        /// <summary>
        /// 文件路径
        /// </summary>
        public string Path
        {
            set { _path = value; }
            get { return _path; }
        }
        /// <summary>
        /// 文件名
        /// </summary>
        public string FileName
        {
            set { _filename = value; }
            get { return _filename; }
        }
        /// <summary>
        /// 附件说明
        /// </summary>
        public string Remark
        {
            set { _remark = value; }
            get { return _remark; }
        }
        /// <summary>
        /// 上传者ID
        /// </summary>
        public Guid UserId
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 上传者人名
        /// </summary>
        public string UserName
        {
            set { _username = value; }
            get { return _username; }
        }
        /// <summary>
        /// 上传者所属部门ID
        /// </summary>
        public Guid DepartId
        {
            set { _departid = value; }
            get { return _departid; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string DepartName
        {
            set { _departname = value; }
            get { return _departname; }
        }
        /// <summary>
        /// 所属公司ID
        /// </summary>
        public Guid CompanyId
        {
            set { _companyid = value; }
            get { return _companyid; }
        }
        /// <summary>
        /// 所属公司名
        /// </summary>
        public string CompanyName
        {
            set { _companyname = value; }
            get { return _companyname; }
        }
        /// <summary>
        /// 所属城市ID
        /// </summary>
        public Guid CityId
        {
            set { _cityid = value; }
            get { return _cityid; }
        }
        /// <summary>
        /// 所属城市名
        /// </summary>
        public string CityName
        {
            set { _cityname = value; }
            get { return _cityname; }
        }
        /// <summary>
        /// 10=合同附件
        /// </summary>
        public int? AttType
        {
            set { _atttype = value; }
            get { return _atttype; }
        }
        /// <summary>
        /// 
        /// </summary>
        public DateTime? AddTime
        {
            set { _addtime = value; }
            get { return _addtime; }
        }
        #endregion Model

    }
}

